package com.ruoyi.web.controller.mall;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.system.service.DetailService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * 获取详细数据类
 */
@RestController
@RequestMapping("/detail")
public class DetailController {
    @Resource
    private DetailService detailService;



    @GetMapping("/get/user")
    public SysUser getLoginUser(){
        //调用api接口
        return detailService.getLoginUser();
    }









}
